package com.thlws.java.proxy.dynamic_javassist;

/**
 * @author HanleyTang
 * @date 2018-12-04
 */
public class Client {

    public static void main(String[] args) {

        HelloJavassist hello = new HelloJavassist();
        JavassistProxy<HelloJavassist> javassistProxy = new JavassistProxy<>(hello);
        HelloJavassist javassist = javassistProxy.createProxyInstance();
        javassist.say();
    }
}
